package errors;

public class RandomError extends Throwable{

	public RandomError(int x){
		executeError(x);
	}
	
	public void executeError(int x){
		if(main.MainWindow.getMagicRob()){
			if(x==666){
				System.out.println("Magic Rob");
			}
		}
	}
}
